package org.jeecg.modules.jindie.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.jindie.entity.CustomerEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.jeecg.modules.jindie.entity.StaffEntity;

import java.util.List;

/**
 * ${comments}
 * 
 * @author gaoshaowen
 * @email gaoshaowen@topwisesz.com
 * @date 2024-12-20 14:54:39
 */
@Mapper
public interface TBdCustomerMapper extends BaseMapper<CustomerEntity> {

    IPage<CustomerEntity> page2(Page<CustomerEntity> page, @Param("ew") QueryWrapper<CustomerEntity> queryWrapper);

    CustomerEntity selectById2(@Param("id") String id);

    List<CustomerEntity> list2(@Param("ew") QueryWrapper<CustomerEntity> queryWrapper);
}
